/*
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 * $Id: GSMErrorException.java 656 2007-06-27 09:32:35Z jack.rybicki $
 */
package gammu.java;

/**
 * Exception thrown when a communication problem occur.
 * 
 */
public class GSMErrorException extends RuntimeException {
	public final static GSMErrorException ERR_DEVICEOPENERROR = new GSMErrorException(
			"ERR_DEVICEOPENERROR");

	public final static GSMErrorException ERR_DEVICELOCKED = new GSMErrorException(
			"ERR_DEVICELOCKED");

	public final static GSMErrorException ERR_DEVICENOTEXIST = new GSMErrorException(
			"ERR_DEVICENOTEXIST");

	public final static GSMErrorException ERR_DEVICEBUSY = new GSMErrorException(
			"ERR_DEVICEBUSY");

	public final static GSMErrorException ERR_DEVICENOPERMISSION = new GSMErrorException(
			"ERR_DEVICENOPERMISSION");

	public final static GSMErrorException ERR_DEVICENODRIVER = new GSMErrorException(
			"ERR_DEVICENODRIVER");

	public final static GSMErrorException ERR_DEVICENOTWORK = new GSMErrorException(
			"ERR_DEVICENOTWORK");

	public final static GSMErrorException ERR_DEVICEDTRRTSERROR = new GSMErrorException(
			"ERR_DEVICEDTRRTSERROR");

	public final static GSMErrorException ERR_DEVICECHANGESPEEDERROR = new GSMErrorException(
			"ERR_DEVICECHANGESPEEDERROR");

	public final static GSMErrorException ERR_DEVICEWRITEERROR = new GSMErrorException(
			"ERR_DEVICEWRITEERROR");

	public final static GSMErrorException ERR_DEVICEREADERROR = new GSMErrorException(
			"ERR_DEVICEREADERROR");

	public final static GSMErrorException ERR_DEVICEPARITYERROR = new GSMErrorException(
			"ERR_DEVICEPARITYERROR");

	public final static GSMErrorException ERR_TIMEOUT = new GSMErrorException(
			"ERR_TIMEOUT");

	public final static GSMErrorException ERR_FRAMENOTREQUESTED = new GSMErrorException(
			"ERR_FRAMENOTREQUESTED");

	public final static GSMErrorException ERR_UNKNOWNRESPONSE = new GSMErrorException(
			"ERR_UNKNOWNRESPONSE");

	public final static GSMErrorException ERR_UNKNOWNFRAME = new GSMErrorException(
			"ERR_UNKNOWNFRAME");

	public final static GSMErrorException ERR_UNKNOWNCONNECTIONTYPESTRING = new GSMErrorException(
			"ERR_UNKNOWNCONNECTIONTYPESTRING");

	public final static GSMErrorException ERR_UNKNOWNMODELSTRING = new GSMErrorException(
			"ERR_UNKNOWNMODELSTRING");

	public final static GSMErrorException ERR_SOURCENOTAVAILABLE = new GSMErrorException(
			"ERR_SOURCENOTAVAILABLE");

	public final static GSMErrorException ERR_NOTSUPPORTED = new GSMErrorException(
			"ERR_NOTSUPPORTED");
	
	public final static GSMErrorException ERR_NOTSUPPORTEDPARAMETER = new GSMErrorException(
	"ERR_NOTSUPPORTEDPARAMETER");

	public final static GSMErrorException ERR_EMPTY = new GSMErrorException(
			"ERR_EMPTY");

	public final static GSMErrorException ERR_SECURITYERROR = new GSMErrorException(
			"ERR_SECURITYERROR");

	public final static GSMErrorException ERR_INVALIDLOCATION = new GSMErrorException(
			"ERR_INVALIDLOCATION");

	public final static GSMErrorException ERR_NOTIMPLEMENTED = new GSMErrorException(
			"ERR_NOTIMPLEMENTED");

	public final static GSMErrorException ERR_FULL = new GSMErrorException(
			"ERR_FULL");

	public final static GSMErrorException ERR_UNKNOWN = new GSMErrorException(
			"ERR_UNKNOWN");

	public final static GSMErrorException ERR_CANTOPENFILE = new GSMErrorException(
			"ERR_CANTOPENFILE");

	public final static GSMErrorException ERR_MOREMEMORY = new GSMErrorException(
			"ERR_MOREMEMORY");

	public final static GSMErrorException ERR_PERMISSION = new GSMErrorException(
			"ERR_PERMISSION");

	public final static GSMErrorException ERR_INVALIDSMSCID = new GSMErrorException(
	"ERR_INVALIDSMSCID");

	public final static GSMErrorException ERR_EMPTYSMSC = new GSMErrorException(
			"ERR_EMPTYSMSC");

	public final static GSMErrorException ERR_INSIDEPHONEMENU = new GSMErrorException(
			"ERR_INSIDEPHONEMENU");

	public final static GSMErrorException ERR_NOTCONNECTED = new GSMErrorException(
			"ERR_NOTCONNECTED");

	public final static GSMErrorException ERR_WORKINPROGRESS = new GSMErrorException(
			"ERR_WORKINPROGRESS");

	public final static GSMErrorException ERR_PHONEOFF = new GSMErrorException(
			"ERR_PHONEOFF");

	public final static GSMErrorException ERR_FILENOTSUPPORTED = new GSMErrorException(
			"ERR_FILENOTSUPPORTED");

	public final static GSMErrorException ERR_BUG = new GSMErrorException(
			"ERR_BUG");

	public final static GSMErrorException ERR_CANCELED = new GSMErrorException(
			"ERR_CANCELED");

	public final static GSMErrorException ERR_NEEDANOTHERANSWER = new GSMErrorException(
			"ERR_NEEDANOTHERANSWER");

	public final static GSMErrorException ERR_OTHERCONNECTIONREQUIRED = new GSMErrorException(
			"ERR_OTHERCONNECTIONREQUIRED");

	public final static GSMErrorException ERR_WRONGCRC = new GSMErrorException(
			"ERR_WRONGCRC");

	public final static GSMErrorException ERR_INVALIDDATETIME = new GSMErrorException(
			"ERR_INVALIDDATETIME");

	public final static GSMErrorException ERR_MEMORY = new GSMErrorException(
			"ERR_MEMORY");

	public final static GSMErrorException ERR_INVALIDDATA = new GSMErrorException(
			"ERR_INVALIDDATA");

	public final static GSMErrorException ERR_FILEALREADYEXIST = new GSMErrorException(
			"ERR_FILEALREADYEXIST");

	public final static GSMErrorException ERR_FILENOTEXIST = new GSMErrorException(
			"ERR_FILENOTEXIST");

	public final static GSMErrorException ERR_SHOULDBEFOLDER = new GSMErrorException(
			"ERR_SHOULDBEFOLDER");

	public final static GSMErrorException ERR_SHOULDBEFILE = new GSMErrorException(
			"ERR_SHOULDBEFILE");

	public final static GSMErrorException ERR_NOSIM = new GSMErrorException(
			"ERR_NOSIM");

	public final static GSMErrorException ERR_GNAPPLETWRONG = new GSMErrorException(
			"ERR_GNAPPLETWRONG");

	public final static GSMErrorException ERR_FOLDERPART = new GSMErrorException(
			"ERR_FOLDERPART");

	public final static GSMErrorException ERR_FOLDERNOTEMPTY = new GSMErrorException(
			"ERR_FOLDERNOTEMPTY");

	public final static GSMErrorException ERR_DATACONVERTED = new GSMErrorException(
			"ERR_DATACONVERTED");

	public final static GSMErrorException ERR_INVALIDCONFIG = new GSMErrorException(
	"ERR_INVALIDCONFIG");
	
	public String toString() {
		return swigName;
	}


	private final String swigName;

	private GSMErrorException(String swigName) {
		this.swigName = swigName;
	}


	/**
	 * Generated version uid.
	 */
	private static final long serialVersionUID = 8322434123045581523L;

}
